
package server.control;

import java.util.ArrayList;
import server.model.Sala;


public class SalasController {
    private SalasController controller = new SalasController(); // variavel para padrão Singleton
    private ArrayList<Sala> salas;

    public SalasController() {
        salas = new ArrayList<Sala>();
    }
    
    public SalasController getInstance(){
        return controller;
    }
    
    public void addSala(){
        salas.add(new Sala());
    }
}
